package org.cheetahworkflow.designer.part;

import org.cheetahworkflow.designer.figure.RapidViewFigure;
import org.cheetahworkflow.designer.model.RapidView;
import org.eclipse.draw2d.IFigure;
import org.eclipse.gef.editparts.AbstractGraphicalEditPart;

public class RapidViewPart extends AbstractGraphicalEditPart {
	
	@Override
	protected IFigure createFigure() {
		RapidViewFigure figure = new RapidViewFigure();
		RapidView rapidView = (RapidView) getModel();
		figure.setAllText(rapidView);
		figure.render(rapidView);
		return figure;
	}
	
	@Override
	protected void createEditPolicies() {
		// empty		
	}
}
